package com.ruoqing.core.vo.blog;

import com.ruoqing.core.dto.BaseResponse;
import com.ruoqing.core.dto.blog.BlogDetailsDto;
import lombok.Data;

/**
	* @author YaoXian
	* @title: BlogDetailsVo
	* @projectName ruoxi-blog
	* @description: 若兮微服务 -
	* @date 2021-03-05 16:00
	*/
@Data
public class BlogDetailsVo extends BaseResponse {
		
		private BlogDetailsDto blogDetailsDto;
		
		public static BlogDetailsVo buildBlogDetailsVo(String status, BlogDetailsDto blogDetailsDto){
				BlogDetailsVo blogDetailsVo = new BlogDetailsVo();
				blogDetailsVo.setStatus(status);
				blogDetailsVo.setBlogDetailsDto(blogDetailsDto);
				return blogDetailsVo;
		}
}
